Well yeah, he watched him jump, might not have been able to see him actually land, but his attention was then on Watson to see how he reacted at that point. If Watson reacted like it was nothing, then he would of known something was up. Just a theory so meh. We'll find out it's more exciting next series.
The body would have to be planted while Sherlock was on the roof.