Added refresh method.
Tests for the refresh method
Removed the value method.