test(matchers.js): make toHaveClass matcher work better for SVG+jQuery