Changed tests to use mogrify again