added tests/tmp directory
fixed compatibility with stable nette