Add tests for listing

* Fix setting properly the last backup time