Bug fix: overwrite get string
Added unit test for overwrite get string