it will check it at deployment time, but checking it at design time sounds like really good idea.
To test what you described it is better to use user task or domain specific service node so it will have wait state so boundary event will get a chance to be fired. As if you just delay script within it it will not allow event to be triggered as process instance is currently executing already one node.
HTH