[feature/twig] Should compare to $this->test_path rather than hardcoded path

PHPBB3-11598