C: fix a couple of minor errors

use %s for ivx and nvx values (ULL,UL suffices)
suppress no warnings numeric on pure string comparisons
protect against empty $fullname for getting PV magic values

improve a couple of tests