Unit test Setup

I have converted old OCUnit settings to XCTest, and removed unuse build configurations.
Now, Build and Test work without any warnings.

Next I will write some unit tests, then Fix current issues.