test app from rails tutorial