Add a test for markDirty(). This brings coverage up to an acceptable level again.