Removing printlns from test code