added unit tests for newick parser