use only public API in tests
mark private API function as such