Add tests to archive_log service

Refactored a few things to make the tests better.
Merge pull request #6 from travis-ci/hh-more-tests

Add tests to archive_log service