phpunit and travis improvements