clean up tests; stub for dirty test
implement basic dirty test