Method generators are not supported in unittest.TestCase subclasses.

see http://nose.readthedocs.org/en/latest/writing_tests.html
Support if_empty and let BoolValidator validate None to False.