added test to ensure that name is entered