If you can hit at moon and on first attempt at Mars (that China has not done so far) hitting any spot on mother earth is like walk in the park.
Indian tests are informed in advance. So are lot of test videos. Unlike you or your poor all weather friends we dont test ballistic missiles on land...