tests now use mock network