fix broken test

Wasn't really testing anything, and I'm not sure what it was trying to test. This
seems slightly better.