added test to TaskServiceTest(Rule annotation to process Deployment annotation)