mod_run_check and mod_run_check_cmd should be in self.states

@garethgreenaway can you check this one

@thatch45 it should be checking if they are in self.states, not self.functions which appear to be module functions