added test_function to forked branch