Fix small issues with unit tests

A helpdesk unit test patched some functions of the 'synnefo.logic.backend'
module, without undoing the patch after the test. This resulted in other
unit tests to run with a wrongly patched module.

The first patch fixes this issue, while the second one fixes a unit test that
succeed only because of the wrongly patched module.