Merge changes I2ad746c8,Id58fe9db,I827415eb

* changes:
  Add TEST_MAPPING and Build file for tests
  Addressed bitrot in keymaster_tests
  attestation_record: Fixed get_ulong truncation