Fixing transaction test