Added logic to skip test when EventManager isn't available.