builds on OSX; xCode project; fails some tests