test for args pattern