Started implementing tests for ShareManager.cs.