bugfixes and tests for DeclarativeTypeParser_Resource