Bug 904971 - Fix unit test of screen manager