fix incorrect error state test