Added refresh to the reg db tests.