never ever feed NULL to strcmp or strncmp, trigger a fail instead: the test itself should not segfault