tests: adding Mock.clear_builddir()test
mock.py: cleaning up clear_builddir()