Create testdrive_unittest.py

Driver for testing using unittest. Dynamically create unit test. The only unfortunate thing is that the line in the 'cases' that generate error is displayed in the non-intuitive way, that the line number is mangled into the function name.