add a test for the update of a profile's metadata