fix parallel_tests (close #3162)
`parallel_test` need to use in dev and test, to generate rails test app