* Fixing tests for filtering on ForeignKey == None
* PEP9 compatibility