Fixed some bugs and typos in Storage Commitment service; added tests for storage commitment