Testing diagnostic handling.