More coverage in tests.

This PR provides a bit more coverage in the test suite. Most of this is in testing some failure cases. There are also a few corrections, where some method signatures that were presumably supposed to mimic numpy, had some mistakes (misnaming arguments, etc.).