Fix imagick mocks.