Fixed small errors in testenv and init