Design of a Flexible On-Axis Interferometric Null Test for Off-Axis Parabolic and Toroidal Mirrors