Added tests for watch-pre-run event