Added test for track hash method.