added tests for insert_node()

This closes #57.