incorporated jsonstream tests