Bug Fix: use print instead of logger in tests