Added testcase for getters and setters