Add test of sharedManager