fix for tests failing with seed `52890`

Just a bad test setup that got exposed.  Stupid global-state is
hard to test.  Wish I didn't need the global state in the adapter
handling.

/cc @jcredding

Closes #40.