Fix test run and optimize run time

I've moved all context "on" descendant it inside of this context. So there are two child contexts now. One for valid config and another one for invalid config