remove deprecated protectAsync in test