fixed mock methods (setters are used by test)