add metadata key mapping test, update formatting of other tests