Improve formatting in module test_models

Move some text around to improve readability of code, and move some `pylint:
disable=xxx` statements to make pylint happier.