unit tests for datataps