PEP8. Tests for correct widget use in Field subclasses. Reorganisation of imports.