fix streq
test of strncpy