add test for invalid argument case