cleaned up some test code
python package for production