adding unit tests for application object