diff --git a/core/modules/system/tests/modules/accept_header_routing_test/tests/Unit/AcceptHeaderMatcherTest.php b/core/modules/system/tests/src/Unit/Routing/AcceptHeaderMatcherTest.php
old mode 100644
new mode 100755
similarity index 97%
rename from core/modules/system/tests/modules/accept_header_routing_test/tests/Unit/AcceptHeaderMatcherTest.php
rename to core/modules/system/tests/src/Unit/Routing/AcceptHeaderMatcherTest.php
index 315380e..c28aa3f
--- a/core/modules/system/tests/modules/accept_header_routing_test/tests/Unit/AcceptHeaderMatcherTest.php
+++ b/core/modules/system/tests/src/Unit/Routing/AcceptHeaderMatcherTest.php
@@ -5,7 +5,7 @@
  * Contains \Drupal\Tests\accept_header_routing_teste\Unit\Routing\AcceptHeaderMatcherTest.
  */
 
-namespace Drupal\Tests\accept_header_routing_teste\Unit\Routing;
+namespace Drupal\Tests\system\Unit\Routing;
 
 use Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher;
 use Drupal\Tests\Core\Routing\RoutingFixtures;
@@ -93,7 +93,7 @@ public function testAcceptFiltering($accept_header, $format, $included_route, $e
    * Confirms that the AcceptHeaderMatcher throws an exception for no-route.
    *
    * @expectedException \Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException
-   * @expectedExceptionMessage No route found for the specified formats application/json text/xml.
+   * @expectedExceptionMessage No route found for the specified formats application/json text/xml
    */
   public function testNoRouteFound() {
     // Remove the sample routes that would match any method.
