add compress error checking for inexistent files
add test for compressing inexistent files