TST: move test functions out of TestCase classes, so that they can be more easily specified using runtests.py on the command line