diff --git a/tests/Store/PostgresDriver/CursorInterfaceTest.php b/tests/Store/PostgresDriver/CursorInterfaceTest.php
index 4e83ebe708f6e33624a37c364d289b670d3e05f9..7aa7872764e4de28aa90a22347a8d9637d7a22ca 100644
--- a/tests/Store/PostgresDriver/CursorInterfaceTest.php
+++ b/tests/Store/PostgresDriver/CursorInterfaceTest.php
@@ -268,4 +268,20 @@ abstract class CursorInterfaceTest extends BaseTest
 		}, CursorException::class, CursorException::MESSAGE_NO_DATA_TO_FETCH);
 	}
 
+	public function test_giveSomePosition_whenMoveToAfterEnd_thenGetError()
+	{
+		$this->uut->moveTo(1000);
+		Assert::exception(function() {
+			$this->uut->moveTo(1001);
+		}, CursorException::class, CursorException::MESSAGE_OVERFLOW);
+	}
+
+	public function test_giveSomePosition_whenMoveToBeforeBeginning_thenGetError()
+	{
+		$this->uut->moveTo(1);
+		Assert::exception(function() {
+			$this->uut->moveTo(0);
+		}, CursorException::class, CursorException::MESSAGE_OVERFLOW);
+	}
+
 }