Fix some more tests for FreeBSD.