Checking For getString() method