Test code to validate hangs.