Added more tests for 100% coverage.