Replace join("\n") with string
Delete unused spec helpers