added entity class and player tests