update tests with new public method