fixed some test cases for getter and setters