add unit test for ios static library