Extended mocking for Travis' needs