Fix tests

Signed-off-by: Michal Čihař <michal@cihar.com>
PEP-8 fixes

Signed-off-by: Michal Čihař <michal@cihar.com>