tidy
change test, for listeners to be called immediately
call listener immediately
update demo
2.0.0