change from "end" to "finish" in event test