Add test for CompositeNode equality
See #208 (closed) for some motivation on why this is desired behaviour, which we weren't explicitly testing before.
See #208 (closed) for some motivation on why this is desired behaviour, which we weren't explicitly testing before.