Report the failing key path in the NSError object
Get rid of obsolete test code in main()