tests for #2532

Travis won't like this until/if #2532 is merged.