fix(core): fix hanging tests