minimum changes to pass test permit
better allower tests