I had a situation. Luckily it was one of those 2 ball practice rounds but this happened and prompted a question.

If the ball is sitting on the edge of the hazard, but not IN the hazard. Can I still ground my club? Will I be penalized for testing the ground? Even though the ball is not in the hazard?

Thanks in advanced.