moved refresh method to tests.py