Refactoring of ActionParameters test so that it could be more readable and flexible.