Add mock as tests_require and ignore tests in configurator