Improve location JSON parsing tests