Implemented the player class tests

Made changes to the Player class indicated by the failing unit tests