refactor: simplify a test.