Fix -[FMDatabaseTests testApplicationID]

There were compile errors in this code because I just copy/pasted it from fmdb.m without making the changes for XCTest.  It wasn't causing problems for me because I am using a version of SQLite older than the preprocessor check.
Merge branch 'testcases' into develop