add getters/ setters to word rank add simple test