added attribute test cases
Merge pull request #36 from wzli/master

added attribute test cases
Merge branch 'master' into fix-port-attribute-types
add regression test: undeclared port attribute type
add regression tests: undeclared port/type attributes
add regression tests: deserialization of schematics with type errors