updated rails test helper