Set HOME directory in test program.