added helper test cases.