Fix broken tests and add harness for potential mock network objects

Authors: cgwalker, rbkillea