adding component deploy check

Hello,

I have added a small test to ensure that components (based on package tree) are active, because sometimes when messing with service injection mechanism, you can have components that are unresolved or unsatisfied, even when there bundle is active. (result in npe, tricky to find for developer discovering the subject)

let me know what you think :)

Guillaume.