add helper test method