Added CoreGraphics library to fix test failures