Added unit test for lzma autodetection