extra test for string keys
refactor