Fix test cases for Coveralls