Add integration test for Rails app