Integration tests - improve test for dependent scope