What difference between the functions of deepstream-app and deepstream-test*?

You can get a quick introduction from this,
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html