More compareTo implemented with JUnit