Bug 846258 - Adding unit test infrastructure and tests for application startup cases