Update test_functions