[test][strategies] fix compilation errors for pythagoras and haversine
unit tests (introduced by the changes in pull request #47)