Add missing transaction in test_plan module