fix test, remove bashism