test code to run on Foundation armv8 emulator