testing "private" methods