fixed a test issue and removed a couple of print statements