test for rails