emit events on view updates
use api correctly in test
0.0.1