Added unit-tests for Application class