I think you'll have to test by explicitly passing in the arbitrary matrix. 

For the names, if you add a doctest (which you should do anyway), that should take care of that.