fix test, test function should be public