Refine run tests commands