Small improvement to testCanReset

While working on issue #117, I noticed an opportunity to add an additional check at the end of testCanReset to ensure that head was reset to its original reference.