Added tests (and new data) for ensuring that the title is

correct, and that danish special chars and whitespace do not make it into
permission values.