fixed selfTest