tests: fixed tests due to PHP bug 62725

Related: https://github.com/nette/tester/issues/129