Update setStorage function in Verifier class.
clear function was added to MemoryStorage Class