Add more database tests

Add tests for Column, Row, and DatabaseResult. Modified SQLiteDatabase to
be able to insert values into table, and added checks for connections to
methods that use them.