Fixing serialization of boolean bug. Updating source code with new guides of Xcode 5.1. Migrating to XCTest unit testing