more documentation and truncating dates in assertTableStateContains