Fix metadata edit feature test