Added test for code coverage. See README for details.