Test that pause() after changing display to "none" doesn't cause a crash. END OF TEST