Added more unit tests that are common across the services.