Fix snprintf() return value tests. ok gilles@