Added testing for creating nodes from JSON