use explicit imports

Mock tests will be much easier if explicit imports are used everywhere
instead of the previous format.