Merge "Add a test for enqueuing complex dependencies"