test for arguments and encoding