tm rails test