Add nonblocking test code.