Add a test for $refs with json pointers into arrays