Test for selecting into json data