testsuite: add test for static archives in Libs: