consolidated tests for all apps

each app has its own test file inside the tests package