PLD: simplify imports, make pep8
PLD: remove unused imports, line breaks, white space
PLD: remove CSVWriter
PLD: use fixture for expected survey view
PLD: line length