Looks like you need to add "CoreGraphics.framework" and "ApplicationServices.framework
" to your unit test target membership.
Here's how it's done for a file:
Just go to "CoreGraphics.framework" in the list of files and folders on the left side and make certain the checkmark is "ON" for the unit tests target.