Added tests for model equality.