tidy up the code

- migrate to XCTest
- use OCMockito/OCHamcrest inside the project
try to add an iOS target