moved enum to test fixture and added some more TextNode checks.