fix some testcases usage of default arguments

As per b5ad0a0dba1816275e1e65093daa4ae4f0c0b88d