Fixing some source code test failures.

The javascript test was not correctly handling new lines.