Pakistan has successfully tested a surface-to-surface missile with a range of 2,500 kilometers .