added test and code for ready->waiting transition on the addition of a parent
more state checks on dependencies
more state checks on dependencies
dependencies and initial statuses looking good!