Add unit testing for setters and getters