testcode modified with newlines