ADC tested somewhat.

Added a test case for the wait queue.