Updating function tests
finished test_function_changed