CSW: fix a test on metadata equality