added more test cases for Android's application object and its lifecycle