Fixed incorrect type in asserts

Asserts were using strings instead of number for checking
styleSheets.length resulting in failing tests.