Fix refresh test