Added unit test and code coverage report.