Tests for Library Content in LMS + pep8 and pylint cleanup