make String vs. Constructor type testing clearer