test for dataset limit
implement API side dataset limit