test: add helper test, imporve coverage