Storing location objects and returning an object instead of just an ID

i think this assertion could be in its own test e.g. it('clears the stored data')