ensure that if-else block covers all cases
test coverage for resolve_plan_attributes subroutine