Fix failing spec tests.

These tests were not failing in Travis CI – which I can't explain.
Whitespace change: My editor complains about whitespace before parens:

" ( … ) treated as group expression …. "