test code for FADC testing