test refactoring for incresing readability