Fix tests

The `toBeInstanceOf` helper didn't get moved over.