Added test of data API