add tests for extension key registration