remove rely of commlib; add test