Added convenience methods for string copying
Added newline to test case