This is probably because you have no way to listen to that
event until you finish creating it.
Specifically, assuming your TestPanel is in TestPanel.mxml,
somewhere else you must have:
<MyViews:TestPanel id="tp" />
And then you must also be doing:
My assumtion is that a) you aren't adding the listener to the
tp at all, or b) that there is no way to add a listener until
initialzation is complete.
You can easily (quick and dirty) resolve this by using
this.parentApplication.dispatchEvent("EventTest") in your test()
in your catching view. Otherwise you will need to create a
Custom event that exists outside of either the panel or the parent,
and use that for dispatch/listening.
(You could also do it like this.addEventListener and
this.parent.dispatchEvent(..) in test().)