fixed user create test and updated the transaction code to the way knex handles t.commit and rollback