Preparation for mocked tests