Added a generic test to ensure update values are only committed to storage if there are dirty values.