Fix refresh edit test