Added tests for getters and setters