Fixed an expectation that was disabled by a bug.

This will not expect:
  expect(...) if the_wrong_hash.has_key? :foo
A better test for bnc#900352.

test that the config files get written.
it correctly fails if the fix is removed :)