Tests for #60
Fix #60 - again
Date is a reserved word (an actual JS "class")
avoid generating attribute metamodel info for local values/vars