#10 added tests for compareTo
#10 added tests for getter and setter
improved docs