bug fix for .testByWad method