fix the tests

see the discussion at https://github.com/symfony-cmf/Testing/pull/6

I did not change the hierarchy test, just fixed that the assumption of the test are met.