[BUG #7212] Added unit tests for getter and setter