Now the 'refreshing' thread is created properly and the callbacks are called, a small test case to test this functionality is present.