Added code coverage tests.