fix trash bin expire operation and add unit tests

add unit tests for expire operation.
Shouldn't this rather be "DEBUG" to avoid polluting the logs ?