Limit test to Darwin

Test requres <Foundation/Foundation.h>