dashboard_menu() fails during tests
dashboard_menu() calls layout_load_multiple_by_path(). However, during tests there is an early invocation of hook_menu() that happens before all modules are loaded. (Why?)
Checking that layout_load_multiple_by_path() exists before calling it allows the tests to pass.