Added Unit tests for UrlMappings and RegisterController.