base.py test

created basic primitive tests for base.py