Adding a test for the display mode (which does not seem to be working)
and fixing the defer test script
Adding the display mode script