test(dirty-checking): add a few tests