Add test for --dep-info.