Added testcase for nette/latte#21