Added test cases to test/examples/adoc and test/examples/tex