sqliter test function