Add new method to integration tests, which hopefully fixes Travis