Fixed assurance of presence only of necessary instances

If some instance is stuck and not deleted then the tests fail. Should check only instances of these tests and filter out instances from other tests.