add the initWithName method to pass the tests