Test document updating
refine store and store tests