testing rails in demo project