fix test of sysctl state

If the option was set correctly test=True just told you that it was an invalid option-- which is incorrect.