tests: add key resolution functions