Fix for travis-ci build

Also updated unit tests to iOS 7.1