Removed shims and refactored tests to pass

Tests that asserted a specific html structure of the component root were
failing due to the order of the 'id' and 'class' attributes appeared in
a different order across Chrome and Firefox. This commit updates the
tests to assert the class and id independently rather than asserting the
exact html.