Theory Test

Believe that the issue with the result set iteration may be caused by a misunderstanding of the use of the open and close methods of the TI.DATABASE.  Encased the dbTest block in an open/close method and am testing the results with that, if it goes well the results will be pushed the results array.  Also made some slight changes to the field names in the sqlite in order to keep a specific style of code format going.