fix tests for PHPUnit 4.0
add coverall.io support to Travis