added test for service & controller