Add unit test for app startup