Unit test for shared manager. Closes #170.