Created test in class playerControllerTest.php