test: setup to allow unit tests with stubbing