Move pending tests to functional test files
Add Foundation to use NSLog without warning messages