Make services registered in ConfigureServices work in Configure

- Added a test

#114

/cc @halter73 @HaoK 
I would just change the test(s) to pass in an `IApplicationBuilder` if that the only reason for using the `?.` operator here.