ENG-6071 -> ENG-6117: Add stubs to diff engine to allow for different changes on empty tables.
Also improve flexibility of test code and add one test.