Properly exit with non-zero exit code when test fails.
TravisCI: test php.