don't crash running tests for OS X framework target.

The "Cocoa Framework" Xcode template sets TEST_HOST to `$(BUNDLE_LOADER)`, the
framework executable, which is unsuitable for running tests.

These test targets are effectively logic tests, so let's run them as such. This
correctly invokes `xctest` as the test host.

Fixes #251.