Add test case for other type of getter mentioned in schmittjoh/twig.js#85