Fixed isLogging tests to use levelName.
Use a fake X display for Android WD on headless.