Sql insert and select unittests