Comparison of adaptive random testing and random testing under various testing and debugging scenarios