[dirtyState] fixed a test broken by commit 6f9a819