Only check public interface in test