fixed tests to take into account top level requirements