added test to cover method based subscriptions
added test coverage for configuration