update base sdk to latest and update to xctest

base sdk 10.7 no longer supported by xcode 5.