[archiveorg] Add test, simplify and modernize