Updates test_expiration_realtime
Adds estimation of unset ratio in the maintenance process