adds test of public interface