Parse body and check it matches expectations