We enable the unit test assert methods in `test`, so this should be rewritten to use an assert.