Added new assert method for checking datasets