add test for unknown flag