add player resource and improve testing