fix compiler tests
injecting service context