Test work

Added freebsd test
Fixed a slight freebsd type juggling bug regarding cpu mhz