Added some code for getting name&lastName

Why do the test fail? The value of testing fields is similar to
strings-parameters of test