TST: changes AssertionErrors in core/generic/_construct_axes_from_arguments to Type/Value Errors
closes #5051

@jtratner this should close I think the remaining issues in #5051?
 Yep this looks right - was just rebasing to submit this but you beat me to
the punch :)
