Refactored IntJoukko.java and added tests for it