Added unit tests for the degree methods.
Added unit tests for the degree methods.

andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics,andymeneely/attack-surface-metrics