Fixed prepare posix test