Index: tests/phpunit/tests/image/base.php
===================================================================
--- tests/phpunit/tests/image/base.php	(revision 30548)
+++ tests/phpunit/tests/image/base.php	(working copy)
@@ -36,13 +36,13 @@
 	}
 
 	/**
-	 * Helper assertion for testing alpha on images
+	 * Helper assertion for testing alpha on images using GD library
 	 *
 	 * @param  string $image_path
 	 * @param  array $point      array(x,y)
 	 * @param  int $alpha
 	 */
-	protected function assertImageAlphaAtPoint( $image_path, $point, $alpha ) {
+	protected function assertImageAlphaAtPointGD( $image_path, $point, $alpha ) {
 		$im = imagecreatefrompng( $image_path );
 		$rgb = imagecolorat( $im, $point[0], $point[1] );
 
@@ -52,6 +52,20 @@
 	}
 
 	/**
+	 * Helper assertion for testing alpha on images using Imagick
+	 *
+	 * @param string $image_path
+	 * @param array $point      array(x,y)
+	 * @param int $expected
+	 */
+	protected function assertImageAlphaAtPointImagick( $image_path, $point, $expected ) {
+		$im = new Imagick( $image_path );
+		$pixel = $im->getImagePixelColor( $point[0], $point[1] );
+		$color = $pixel->getColorValue( imagick::COLOR_ALPHA );
+		$this->assertEquals( $expected, $color );
+	}
+
+	/**
 	 * Helper assertion to check actual image dimensions on disk
 	 *
 	 * @param string $filename Image filename.
Index: tests/phpunit/tests/image/editor_imagick.php
===================================================================
--- tests/phpunit/tests/image/editor_imagick.php	(revision 30548)
+++ tests/phpunit/tests/image/editor_imagick.php	(working copy)
@@ -461,9 +461,7 @@
 	 */
 	public function test_image_preserves_alpha_on_resize() {
 		$file = DIR_TESTDATA . '/images/transparent.png';
-
 		$editor = wp_get_image_editor( $file );
-
 		$this->assertNotInstanceOf( 'WP_Error', $editor );
 		
 		$editor->load();
@@ -472,8 +470,12 @@
 
 		$editor->save( $save_to_file );
 
-		$this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 );
+		$im = new Imagick( $save_to_file );
+		$pixel = $im->getImagePixelColor( 0, 0 );
+		$expected = $pixel->getColorValue( imagick::COLOR_ALPHA );
 
+		$this->assertImageAlphaAtPointImagick( $save_to_file, array( 0,0 ), $expected );
+
 		unlink( $save_to_file );
 	}
 
@@ -484,19 +486,19 @@
 	 */
 	public function test_image_preserves_alpha() {
 		$file = DIR_TESTDATA . '/images/transparent.png';
-
 		$editor = wp_get_image_editor( $file );
-
 		$this->assertNotInstanceOf( 'WP_Error', $editor );
 
 		$editor->load();
-
 		$save_to_file = tempnam( get_temp_dir(), '' ) . '.png';
-
 		$editor->save( $save_to_file );
 
-		$this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 );
+		$im = new Imagick( $save_to_file );
+		$pixel = $im->getImagePixelColor( 0, 0 );
+		$expected = $pixel->getColorValue( imagick::COLOR_ALPHA );
 
+		$this->assertImageAlphaAtPointImagick( $save_to_file, array( 0,0 ), $expected );
+
 		unlink( $save_to_file );
 	}
 }
Index: tests/phpunit/tests/image/editor_gd.php
===================================================================
--- tests/phpunit/tests/image/editor_gd.php	(revision 30548)
+++ tests/phpunit/tests/image/editor_gd.php	(working copy)
@@ -472,7 +472,7 @@
 
 		$editor->save( $save_to_file );
 
-		$this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 );
+		$this->assertImageAlphaAtPointGD( $save_to_file, array( 0,0 ), 127 );
 
 		unlink( $save_to_file );
 	}
@@ -495,7 +495,7 @@
 
 		$editor->save( $save_to_file );
 
-		$this->assertImageAlphaAtPoint( $save_to_file, array( 0,0 ), 127 );
+		$this->assertImageAlphaAtPointGD( $save_to_file, array( 0,0 ), 127 );
 
 		unlink( $save_to_file );
 	}
