fix a few restrictions tests