Modified test_StringObject

Solved bad memory access