Missing transaction, fix .if tests