Support textContent that has spaces

Currently, the check fails for a <paper-button> that contains text that has a space.
Change the test to check what it is supposed to - whether there's any non-whitespace
content.