Fixed #45, safety checking for Node attribute names
Added tests for said safeties