a test with rails