fixed redirection in both files, fixed setting testDatabase using the DATABASE variable in the install_xtuple script