Added dirty object tests.