fix test_DBManager.test_get_new_jobs

test_DBManager.test_get_new_jobs is replaced by
test_DBManager.test_get_active_jobs as the method change in DBManager
and fix the code according the new behavior of this method