name has been migrated to a method, not a property - incorrect result printed when test passes