fixed some posix tests