Updating test cases with revised execution flow