code refactoring Player tests