make integration tests work with ruby1.8