PEP8: E711 comparison to None

This time for tests
PEP8: W191 indentation contains tabs
PEP8: E202 whitespace before ']'
PEP8: W293 blank line contains whitespace