Fix #37: Investigate why some UI tests fail on travis