only one -lz for tests now
sources for tests fixed