Bug fix submit jobs script. Change dbs instance for tests.