test for data exchange