from ww: fixes for assertEqualState
from ww: fixes for assertEqualState

LivelyKernel/LivelyKernel,LivelyKernel/LivelyKernel,LivelyKernel/LivelyKernel,NikolaySuslov/LivelyKernel,NikolaySuslov/LivelyKernel,pascience/LivelyKernel,NikolaySuslov/LivelyKernel,pascience/LivelyKernel,pascience/LivelyKernel