CompilerPass add in the bundle build

- Test is now compatible with phpunit 3.7
- Fixed configuration expectation errors