Updated unit test bootstrap and added test for ConsoleApplicationFactory