Add Endian test

Signed-off-by: Pitsanu-T <pitsanu.t@carpass.co.th>