text testing. add warning for bad nodes