add dirty bit tests