handle empty diff
reordering
better 'no change' detection
flakes
skip .pyc and sort
bulk insert
don't break if teardown is called without setup. pytest bug?