fix typo : deleteExpired
update tests : only one bootstrap function for all tests