Added tests for file sharing