Update fonctions.c

Adapted the test functions to the new callback type (int (int, char *[])).