add test for swath datafield, pep8 work