These are great tests to sanitize inputs! They probably need additional unit tests, for full code coverage. It's really easy to test these with `np.testing.assert_raises`