why not use `beforeEach` and `afterEach` like on `spec-randHex`?