Refactor verify network method

- Add 'success' parameter that is true by default
- Modify verify network method call in tests where it
should fail

Change-Id: I115d7fd909d627d92b1811baebcd776b49e1af11
Closes-Bug: #1352217
Merge "Refactor verify network method"