added test coverage.