update test mock to support get()