Correct archive unittests and pep8 conformity in archive class

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>