Testing for overdispersion and Laney P' chart