restore functions used in test suite