refactor(test/networks): use predicate functions
refactor(test/networks): use predicate functions

Use predicate functions instead of using (error-prone) string lists in
tests.

Issue: BG-16466

BitGo/BitGoJS,BitGo/BitGoJS,BitGo/BitGoJS,BitGo/BitGoJS