test for rails app.