Add unit tests for Registry#keys.