Some unit tests for darwin_sysctl module

Started writing some unit tests for the darwin_sysctl module.