test of strncpy