refactor ui tests for network verification