Group Testing in Structured and Dynamic Networks