Corrected ADX and ADX Unit Test