Fix running tests from within Xcode