php-imagick that works with php 5.4 and mocking