Make services registered in ConfigureServices work in Configure

- Added a test

#114

/cc @halter73 @HaoK 
Yes!