Fixes refresh test