Homework 02 permutator test refactoring