Use Job.dependents_key_for in register_dependencies test.