Modified test for Employee class.

Changed the method that tests the toString() function , 
so that it is now compatible the new version of the toString().