Fix tests under unix.