add off and emit test