Now detects changes in unique_constraints + updated tests