Fixed compatibility with dev Nette
Added tests