feature: add a unit test involving mock objects