Tests made and working

(Run AllTests.java)