* Add test runner. * Fix tests. Add tests for UtilsService.getDomain * Test getHostname. * Add two missing test cases and fix getDomain.