karma whitespace issue