Tests: DRY out logging tests

I didn't name the tests dynamically because I wanted to leave the numerous corresponding assertions as-is (e.g., https://github.com/gibson042/qunit/blob/2014-12-logging-tests/test/logs.js#L116 ). If mixing is a problem, I'll revert the module naming changes.