Fixing tests for ContainerBuilder in PHP 5.2