refactor tests for breadcrumb to use the public interface