make test function public