Add test toUnikeyRules method