simplify test setup and initialization.