diff --git a/composer.json b/composer.json
index f68b6d8516b210abb07b1756e4f2a0aeb5d3d2f2..3004317b2af536231628d12d4f74ef87a2e2d400 100644
--- a/composer.json
+++ b/composer.json
@@ -12,7 +12,8 @@
     ],
     "require": {
         "php": ">=5.4",
-        "symfony/serializer": "~2.7"
+        "symfony/serializer": "~2.7",
+        "symfony/options-resolver": "~2.7"
     },
     "require-dev": {
         "phpunit/phpunit": "~4.4",
diff --git a/tests/SearchEndpoint/QueryEndpointTest.php b/tests/SearchEndpoint/QueryEndpointTest.php
new file mode 100644
index 0000000000000000000000000000000000000000..52fe8c09441477798593629afa9dad94516b296f
--- /dev/null
+++ b/tests/SearchEndpoint/QueryEndpointTest.php
@@ -0,0 +1,28 @@
+<?php
+
+/*
+ * This file is part of the ONGR package.
+ *
+ * (c) NFQ Technologies UAB <info@nfq.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace ONGR\ElasticsearchDSL\Tests\Unit\SearchEndpoint;
+
+use ONGR\ElasticsearchDSL\SearchEndpoint\QueryEndpoint;
+
+/**
+ * Unit test class for the QueryEndpoint.
+ */
+class QueryEndpointTest extends \PHPUnit_Framework_TestCase
+{
+    /**
+     * Tests constructor.
+     */
+    public function testItCanBeInstantiated()
+    {
+        $this->assertInstanceOf('ONGR\ElasticsearchDSL\SearchEndpoint\QueryEndpoint', new QueryEndpoint());
+    }
+}