Tests for curve node id mapper and curve definition builders