Update copyright and comments in Python integration tests (rebased onto develop)


This is the same as gh-1649 but rebased onto develop.

----

This PR is a documentation-only change. It updates existing copyright, adds missing copyright and changes a few comments that were misleading or had extraneous content.

Note: The final commit piggy-backing this PR is a minor code change.