Fixed Twig Extension Filters + wrote phpunit tests