Added ADIS self test function and included test in ADIS project.