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


related #5051