tests: Don't compare strings by pointer
clang complains about this in the form of
:6:9: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead)if (f == (void *)"a") { ^ ~~~~~~~~~~~
Use variables for the strings instead, which should have the same address.