Added endian test cpp