Updated verification code

Expected values are put as 1st argument and the actual values are put as
second argument, so that in case of failures it prints correct error.