Refactor: tests.