diff --git a/tests/phpunit/tests/shortcode.php b/tests/phpunit/tests/shortcode.php
index 2e61e72..7e8b971 100644
--- a/tests/phpunit/tests/shortcode.php
+++ b/tests/phpunit/tests/shortcode.php
@@ -299,6 +299,25 @@ EOF;
 	}
 
 	/**
+	 * @ticket 14050
+	 */
+	function test_shortcode_unautop() {
+		// a blank line is added at the end, so test with it already there
+		$test_string = "[footag]\n";
+		$this->assertEquals( $test_string, shortcode_unautop( wpautop( $test_string ) ) );
+	}
+
+	/**
+	 * @ticket 14050
+	 */
+	function test_multiple_shortcode_unautop() {
+		// a blank line is added at the end, so test with it already there
+		$test_string = "[footag]\n[footag]\n";
+		$actual = shortcode_unautop( wpautop( $test_string ) );
+		$this->assertEquals( $test_string, $actual );
+	}
+
+	/**
 	 * @ticket 10326
 	 */
 	function test_strip_shortcodes() {
