Fixes #3. Create tests for node creation.