fix test count, which fails if optional mem leak modules not installed