NSMutableData tests