Building a unit-test setup.