moved snprintf fix to test_config.h