add some clear()s to unistd tests that need them