Updated subnet tests and functions

- called field_update fn wherever required
- called `search` fn from base class
- Made code pylint/pep8 compliant