chdir for receiptPrint testing