Refactor: extract mock objects to a separate file