Removed ennecessary empty lines.
Added a new version of append_sstring and added tests for it.