Starting to add logic in for the array offset (but it isn't working)
Changing back to use the $this->getArray function
Adding in a script to generate the test database
 - Adding in logic to handle the mysql/sqlite bug
 - Adding in a unit test to test the new changes