Silence misc.t STDOUT by testing for it.

Whether this change is worth it may be a matter of opinion. I prefer tests not to omit warnings, as it makes it more obvious when a real bug exists. This solves that nicely, and adds a couple of new tests, which actually test for the expected STDOUT output as well.

This solves issue #78.