Add tests for StoreValue and UpdateValue