Declare nodes type structs and add a test.