Added test for refresh