tests: adding Mock.clear_builddir()test