Added test on ConsoleServiceFactory