Fix strings.c endian issue and strings test