Long range gravity tests and the Pioneer anomaly