Add test cases for PlayerController.