Various helper classes to assist when testing for iOS and Mac OS X