Rework koha and mysql remove_if_old tests