Fixed incorrect type in asserts

Asserts were using strings instead of number for checking
styleSheets.length resulting in failing tests.
Merge pull request #742 from KenjiBaheux/fix-incorrect-type-in-assert

Fixed incorrect type in asserts