fix test, unix line endings, remove unneeded _wait() call