FIX: Fixed issue with no previous tests being recorded and incorrect calculation of distance