add spec for and tested player class