add selfTest functionality