adding tests for helper methods and the helper methods