Restriction system for resources and tests all pass