Added a few tests to improve code coverage.