some fixes
fix run_test method