Fix tests for 64-bit.

Bug: 16031597

This change also copies over an existing test (P_export_types) that would
break under the new 64-bit compilation mode (since some types no longer exist).

Change-Id: Ia719e69cd9df4d0bdc814b16223d791055f2d616
7 files changed