Add player factory unit test