making the unit tests a python module
more tests, adding in missing files