added test for static library