Remove all network activity from tests

Will add some end-to-end tests back in later.