Add a test.

Just something that was worrying me, but it's fine.