Moar tests!

We don't have nearly enough functional tests.