Adding unit test about ordering on addHead