fixing FreeBSD Device Tests