Fixed iOS libraries and added a testing lib