Remove old test target to fix build on real devices
Add a "run script" build phase to Test target

The script signs the test folder so that it can access the App’s
keychain items when running on a device.