unit test: refactor checker configuration into a beforeEach