add strncmp unit test