Bug 959104: Fix travis test cases where evt.detail == null