Unit tests for DataPath and DataPathElement