Fixed Nette tests according to a suggestion in nette/nette#1457