Make generated tests work out of the box with Rails