Moved api unit test from gnuob-app to gnuob-api.