Updated Scanner testing cases