ACL Core, add a way for unit tests to flush in-function cache