Testing JSON get requests