Remove duplicated rails/rails from test input