For a test with rails.