implements listArchives, adds tests #11