Removed html5mode for tests to pass