Bug 907669 - Fix unit test of screen manager