Make variable name a public attribute and fixes a dependency on it on a subclass
Added tests for PathListVariable