Added test for empty strings

Already fixed with https://github.com/fabpot/Twig/commit/6003ae43b92cfa7e1ddec17262733355e0bf435a but to make sure there's no chance for regression bugs in the future.