Move base.py w/ unit tests to the tests root.

Change-Id: I4114603f43c58b1665e8f7cc0a12adc60198dd8f
Merge "Move base.py w/ unit tests to the tests root."