test: explicitly cast to (const char *) to avoid warning with clang