Added Spec trait, test dependencies.