MOSYNC-2976 Update: modified the test app to signal if tests failed or not