added tests for insert_node()

This closes #57.
Merge pull request #58 from drincruz/feature/unit_tests/insert_node

added tests for insert_node()