Move script-local specs to spec/unit.