add test for valid third argument type