made all modules testing routines optional to build
smaller fixes