It'd be slightly better to stub the `sysctl` method generated by optional_commands, as we then get to test sysctl_get and sysctl_set are calling it with the correct arguments.