Add inmemoryservicetest
Add some new functionality