Testing Social Code