begin testing while