Add `tests` directory to `make lint` command

Add a `pylint:disable` directive to a block of code that should not be fixed in
any way. `make lint` now passes under Python 2, but issues a few more pylint
warnings under Python 3.