Fixed lib mocking