Add clear_results() function to memoized decorator. Update tests for utils and config