Getting the unit tests working again

Also added a git ignore to ignore the *.class files