Suppressing loading messages and display for tests