fix invalid argument order in test