Index: tests/media.php
===================================================================
--- tests/media.php	(revision 1220)
+++ tests/media.php	(working copy)
@@ -151,6 +151,7 @@
 		$kb = 1024;
 		$mb = $kb * 1024;
 		$gb = $mb * 1024;
+		$tb = $gb * 1024;
 
 		// test if boundaries are correct
 		$this->assertEquals( '1GB', wp_convert_bytes_to_hr( $gb ) );
@@ -158,11 +159,13 @@
 		$this->assertEquals( '1kB', wp_convert_bytes_to_hr( $kb ) );
 
 		// now some values around
+		$this->assertTrue( abs( 1.64926849024E+12 - (float) wp_convert_bytes_to_hr( $tb + $tb / 2 + $mb ) ) < 0.0001 );
+		$this->assertTrue( abs( 1023.99902248 - (float) wp_convert_bytes_to_hr( $tb - $mb - $kb ) ) < 0.0001 );
 		$this->assertTrue( abs( 1.5009765625 - (float) wp_convert_bytes_to_hr( $gb + $gb / 2 + $mb ) ) < 0.0001 );
 		$this->assertTrue( abs( 1022.99902344 - (float) wp_convert_bytes_to_hr( $gb - $mb - $kb ) ) < 0.0001 );
 
 		// edge
-		$this->assertEquals( 'NANB', wp_convert_bytes_to_hr( -1 ) );
+		$this->assertEquals( '-1B', wp_convert_bytes_to_hr( -1 ) );
 		$this->assertEquals( '0B', wp_convert_bytes_to_hr( 0 ) );
 	}
 }
