removing old test code causing warining