Can't call method "name" on an undefined value at test line 8.