allow dev version of nette/deprecated
Fix tests for nette 2.2-dev