MRG: Cleaner tests

In the process of working on #253 I was a little bit surprised by the number of warnings during testing. This cleans that up, and fixes a couple minor errors along the way.

Ready for review/merge.
IIRC, they were broken on my system under the PR... not sure why? If this is a merge-blocker I can look deeper.