fixed test_functions.c