updated test cases so that the arguments are in proper order!!