Testing and debugging in Swift Playgrounds when parsing XML with Cocoa APIs