Added tests for ServiceSubtypeResolver.