Added getName() and setName() methods.
Added test for getName() and setName() methods.