Use actual getters and setters for Share object
Fix link tests