Update unit test code
Support iOS 7

Wow, completely missed that Xcode 6 can now build Swift frameworks/static libraries to support iOS < 8! Thanks Ricky!