fix endian-ness on sine wave tests