Index: tests/phpunit/tests/option/transient.php
===================================================================
--- tests/phpunit/tests/option/transient.php	(revision 27309)
+++ tests/phpunit/tests/option/transient.php	(working copy)
@@ -33,4 +33,25 @@
 		$this->assertEquals( $value, get_transient( $key ) );
 		$this->assertTrue( delete_transient( $key ) );
 	}
-}
+	
+	function test_transient_data_with_timeout() {
+		$key = rand_str();
+		$value = rand_str();
+		$value2 = rand_str();
+		
+		$this->assertTrue( set_transient( $key, $value,1 ) );
+		sleep(2);
+		$this->assertFalse( get_transient( $key ));
+	}
+	
+	function test_transient_change_timeout() {
+		$key = rand_str();
+		$value = rand_str();
+		$value2 = rand_str();
+		$this->assertTrue( set_transient( $key, $value) ); 
+		$this->assertEquals($value,get_transient( $key) );
+		$this->assertTrue( set_transient( $key, $value2, 1) ); //Setting a timeout
+		sleep(2);
+		$this->assertFalse( get_transient( $key ));
+	}
+}
\ No newline at end of file
