Add regression spec for #549.

This is already fixed in 3.0 but it's good to add
a spec to prevent future regressions.