add output callbacks test notebook

This should be converted to js tests after the testing framework has been merged.