Add parser test for logoff response

And fix an exposed bug!