Allow the NosetestMethod to run (free) test functions.

Added support for [nose test functions](https://nose.readthedocs.org/en/latest/writing_tests.html#test-functions).