split library tests into cli and public