updated testing chapter