Tests for getter/setter methods