Converted testcases to Junit-tests. Fixed possible nullpointerexception bug.
Fixed a bug in fingertable-updates where finger points to self (last finger)