for rails test