Add test highlighting issue with arrays/ints as keys when refListing...

Which leads to comparison between ints and strings which results in
false comparison, albeit it should be true
Fix issue with arrays/ints as keys when refListing (see previous commit)