Sure, makes sense to test they don't get muddled too.  I think this line + others can still be simplified, e.g. https://github.com/domcleal/foreman/commit/e2fe410c830f486966b57aaf4c36082ffd7e77c5

(though I'm not really sure what you're trying to achieve with the operatingsystems line below)