chore(core): fix up test coverage