Adding unit tests for Bug 2086 and enabling cover in tox.ini.