return the last datashape declared in the string. fixes #23
Update tests to reflect parser change.