test for data api