test: extract dependencies test for multiple outputs case