Fix undefined batcache variable during phpunit execution
Merge pull request #339 from xwp/feature/phpunit-batcache-undefined-var

Fix undefined batcache variable during phpunit execution