Fixed runtest if run with phase 4