Wrong type used in assert_equals

Strings were used instead of numbers resulting in test failures in
shadowroot attributes.