fixes to NSData and NSString tests