fix tests, upgrade phpunit up to 4.3

It would be better to use `ContainerBuilder` instance, not mock. But I changed that in the compilers tests but it seems to be hard to get compilers from the container. So I cannot apply same for the bundle class tests.