refactor view test & allow blank payment_plan