component does not update scope on id, class, and data-view-id attribute changes

Minor test improvements on pull #1130 for issue #1079.