(/=) Fix getFragmentsForIdentifier

(+) equals on TableSchema
(+) basic rewrite tests