Added test for application class