Add unit test for ast2dot
Make entity name rendering configurable
remove deep copying as this now will happen in ast2dot itself
Simplify ast2dot