Add tests for #fetch() and #update()