Updated test case
Added support for swap file creation. Changing some default configuration values as well.
FIXED some wrong dependencies which could lead to errors. Removed unnecessary dependencies for archives in cabal and cabal-install class.