Test Refactor: CreateNode method