Fix railtie -> engine
Fix test example condition

This might fail if other plugin registered an after hook
Fix usage