updated testing part of the tutorial