[test][strategies] fix compilation errors for pythagoras and haversine unit tests

Errors introduced by the changes in pull request #47