adding test cases for services and imperative service aggregator