Added tests for daq.py