add test for mixed-lib input