move expected value to be the second argument