Insert object works perfectly and is tested for sqlite3