move test bases to test/base.py