fixes #27
rename tests
rename test methods
with example
javadoc.. I was tired...
move functions to Comparables
reuse functions
Merge pull request #53 from twillouer/issue27

fixes #27