Add done callbacks to CoreFunctions tests