Add test for multi DNS, bnc#901497

Rebased, it seems that there is still some one space, but this PR will fix this