Fixes require path error in string spec.