API test dataset reset logic added.