added methods for player and undead constructors and further tests