wiring up unit tests