Make it able to run parallel_tests in ubuntu using bash

But I still can't correctly run all the tests without failures. Can anyone help me? I guess it's something related to the database.