add implementation of unit test - testAddNodeToHead()