Helpers and libraries for mocking unit tests