Fixed a test comparing too many characters.

It was comparing \0 in test.string with temp2, which would cause the function to return the wrong value even if they are equal.
Added newline at the end of new printfs.