Finish remaining negative error path testing.

This brings the test coverage to 100%.