Adding tests for refresh interval feature