upgrade cocoapods and use xctool to run tests

self-merging