Updated to make (some) progress on unit tests

Made ThrowsExceptionNode derive from Element and added getNodeValue() to NodeBuilder

Neel feel free to take this pull request to save yourself time or to just ignore it and do the same things on your own. I'm still getting a NullPointerException in the XPath stuff which I don't quite parse.