Fix shareFolder method signature to pass querystring params in query object
Add restore method with passing tests.