Add tests for Resources endpoint
Uncomment parent::tearDown() in custom WebTestCase

When calling `static::ensureKernelShutdown();` on test tearDown,
the test suite stop at the 10th tests.

See Symfony\Bundle\FrameworkBundle\Test\KernelTestCase::tearDown()
Apply patch from scrutinizer