fixed 5 test cases for exec