autocommit for test