fix lint warnings
tests.py: fix/disable broken tests