not sure about this setimeout, doesn't the mock_datastore resolve in the same tick?