Fixes broken unit test for app manager.