Added spec and example for text node objects