add test for helper methods