testbase for work.py