Cleaned tests file to correct all pyflakes and pep8 errors

Looks like you can do

```
var = (long.dotted.access.
          more.dotted.access.geez.
          ok.finally.the.actual.
          function(args))
```