Change test to rails project