Augmented xaml node tests to handle attach errors and namescope resolution issues with detaching.