Set debug=2 when running tests that rely on it.

Closes #146
Clean up comments.

* Normalize comment endings.
* Update file headers