Rename equalRevisions to "different" as clearer
Only attach transitions automagically if not test

Pass db around for functions, expose db finalize
Start tests