Testing endianness with interesting polyfill approach