Fix tests for phar-based PHPUnit, prevent running them twice in case of `phpunit AllTests.php`
Add travis config