This might be your problem: 

   component.Schema.Equals("XSLT Test - Ignor")

`component.Schema` won't give you the title of the schema.

It might help you in the future to put some logging in your events code, so that you can see if it goes to the `else` clause. And of course, you should know how to attach a debugger.