CLI boundary tests
- subnet CRUD
- domain CRUD
Merge pull request #1335 from alda519/cli_subnet_domain

CLI boundary tests
Refactor ContentView.path and related code

Reduce the amount of duplicate code used to implement method `ContentView.path`.
Make the relevant tests easier to read, and alphabetically sort the relevant
test's data.