fixed datastream tests
Closes #92