removing unnecessary test code