Merge "Fix native allocation test."