add test flg for multiple mods and in_port