test for refresh