Added one node test

Added test case for a using genTree on a single node.