tests for datastream service