BUG Allow PHPUnit installation with composer / Fix travis

See #3087 #3088