Added unit test for determining function coverage.