Corrected Test

I corrected the test Writer so that it does not fail. Problem was that the dict we were using to check our implementation contained the children in the node attribute (which shouldn't be the case)