Fix up tests

Version bump to 1.0.0 while we're at it.

Fixes #5.