NetworkSpec: renamed to AddSpec.
GenerateSpec: tests for the generate method.