added test_function