Added tests for unconfigured and misconfigured service.