Refactor testing and create spatial nodes when we create new items