Fixed bug in LinkedListNode implementation that caused a self-relationship at the last element of a list,
modified DiffTest to carry out the tests in separate transactions.